home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat6 / bzlogo.z / bzlogo
Text File  |  1998-10-30  |  5KB  |  199 lines

  1.  
  2.  
  3.  
  4. BBBBZZZZ((((6666DDDD))))                                                                  BBBBZZZZ((((6666DDDD))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      bzlogo - convert SGI images to the logo format for bz
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      bbbbzzzzllllooooggggoooo iiiimmmmggggffffiiiilllleeee llllooooggggooooffffiiiilllleeee [ ----lllleeeefffftttt | ----rrrriiiigggghhhhtttt ] [ sssstttteeeeppppssssiiiizzzzeeee ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _B_z_l_o_g_o converts an SGI RGB image file to a format that _b_z(_6_D) can load.
  16.      The sssstttteeeeppppssssiiiizzzzeeee option allows some control over the refinement of the
  17.      result.  The default value is 2.  If the program fails, try increasingly
  18.      higher values until it succeeds.
  19.  
  20.      The lllleeeefffftttt and rrrriiiigggghhhhtttt options indicate that the logo should appear as is on
  21.      the left and right side of the tank, respectively, and should be flipped
  22.      on the opposite side.  This allows logos to be built that have a
  23.      preferred direction with respect to the front of the tank.
  24.  
  25. LLLLOOOOGGGGOOOO FFFFIIIILLLLEEEE FFFFOOOORRRRMMMMAAAATTTT
  26.      The logo file is an ASCII file and describes a set of triangluar meshes.
  27.      The format is as follows:
  28.  
  29.                # BZLOGO Version 1.1
  30.                optional_global_qualifier
  31.                command
  32.                number_of_points
  33.                X-Y 1
  34.                X-Y 2
  35.                 ...
  36.                X-Y n
  37.                command
  38.                number_of_points
  39.                X-Y 1
  40.                X-Y 2
  41.                 ...
  42.                X-Y n
  43.                 ...
  44.                command
  45.  
  46.      In the above, _c_o_m_m_a_n_d can be any of the following:
  47.  
  48.      BBBBGGGGNNNNTTTTMMMMEEEESSSSHHHH
  49.              Starts a triangular mesh sequence.  This must be the first
  50.              command.
  51.  
  52.      SSSSWWWWAAAAPPPPTTTTMMMMEEEESSSSHHHH
  53.              Performs a swaptmesh and continues on with new points.
  54.  
  55.      EEEENNNNDDDDBBBBGGGGNNNNTTTTMMMMEEEESSSSHHHH
  56.              Ends one triangular mesh and starts a new one.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. BBBBZZZZ((((6666DDDD))))                                                                  BBBBZZZZ((((6666DDDD))))
  71.  
  72.  
  73.  
  74.      RRRREEEETTTTEEEENNNNDDDDTTTTMMMMEEEESSSSHHHH
  75.              Ends the logo and is the final command processed.
  76.  
  77.      The line indicated above by _o_p_t_i_o_n_a_l__g_l_o_b_a_l__q_u_a_l_i_f_i_e_r can be absent or
  78.      replaced by one of the following:
  79.  
  80.      LLLLEEEEFFFFTTTTSSSSIIIIDDDDEEEE
  81.              Indicates that the logo should appear as described on the left
  82.              side of the tank and reversed when displayed on the right side.
  83.  
  84.      RRRRIIIIGGGGHHHHTTTTSSSSIIIIDDDDEEEE
  85.              Indicates that the logo should appear as described on the right
  86.              side of the tank and reversed when displayed on the left side.
  87.  
  88.      An example file which describes a forward-pointing-arrow is shown below.
  89.  
  90.                # BZLOGO Version 1.1
  91.                RIGHTSIDE
  92.                BGNTMESH
  93.                   3
  94.                   161 50
  95.                   161 79
  96.                   161 39
  97.                SWAPTMESH
  98.                   1
  99.                   161 172
  100.                SWAPTMESH
  101.                   4
  102.                   158 168
  103.                   158 86
  104.                   3 168
  105.                   147 86
  106.                SWAPTMESH
  107.                   1
  108.                   7 86
  109.                SWAPTMESH
  110.                   2
  111.                   0 89
  112.                   0 165
  113.                SWAPTMESH
  114.                   2
  115.                   0 154
  116.                   0 96
  117.                ENDBGNTMESH
  118.                   3
  119.                   255 125
  120.                   247 118
  121.                   247 132
  122.                SWAPTMESH
  123.                   6
  124.                   168 211
  125.                   168 43
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. BBBBZZZZ((((6666DDDD))))                                                                  BBBBZZZZ((((6666DDDD))))
  137.  
  138.  
  139.  
  140.                   161 215
  141.                   161 39
  142.                   161 204
  143.                   161 172
  144.                RETENDTMESH
  145.  
  146. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  147.      bz(6D), bzviewlogo(6D).
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.